/*
 * Copyright (c) 2021 Huawei Device Co., Ltd.
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 * introduction:
 * @author HelloKun （https://space.bilibili.com/475950146）
 * @brief 智慧终端机器人MRobot -详细功能说明见mrobot.h
 * @function
 *   古诗词
 * @copyright Copyright (c) 2022
 */

import router from '@system.router';
export default {
    data: {
        title: "唐诗宋词",
        red_color: '#ff0000',
        green_Color: '#00ff00',
        swipe_index:1,

    },
    ToHomePage(){
        this.work_status ='退出';
        router.replace({
            uri: 'pages/jscontrol/jscontrol',
        });
    },
    ToGamePage(){
        this.work_status ="寓教于乐界面"
        router.replace({
            uri: 'pages/game_page/game_page',
        });
    },

}